﻿using System;
using System.Collections.Generic;

namespace ConsoleApp.Infrastructure.CanalCore.Infrastructure.Models
{
    public class CanalEntity<T>
    {
        public string type { get; set; }
        public string database { get; set; }
        public string table { get; set; }
        public int id { get; set; }
        public List<T> data { get; set; }
        public List<T> old { get; set; }
        public long es { get; set; }
        public bool isDdl { get; set; }
        public List<string> pkNames { get; set; }
        public string sql { get; set; }
        public long ts { get; set; }
    }
}
